//
//  AVUser.swift
//  UICPortal
//
//  Created by 高宇超 on 7/21/17.
//  Copyright © 2017 Yuchao. All rights reserved.
//

import AVOSCloud

class AVStudent: AVObject, AVSubclassing {
    
    @NSManaged var username: String?
    @NSManaged var stuID: String?
    @NSManaged var name: String?
    @NSManaged var nameEng: String?
    @NSManaged var program: String?
    @NSManaged var birthDate: Date?
    @NSManaged var idCardNo: String?
    @NSManaged var mobilePhone: String?
    @NSManaged var homePhone: String?
    @NSManaged var address: String?
    @NSManaged var postcode: String?
    @NSManaged var gender: String?
    @NSManaged var photo: AVFile?
    @NSManaged var avatar: AVFile?

    static func parseClassName() -> String {
        return "Student"
    }

    override init() {
        super.init()
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
}
